import unittest
from main import add, greet_use


class TestMyFunctionAdd(unittest.TestCase):

    def test_add_fun(self):

        self.assertEqual(add(1, 2), 3)
        self.assertEqual(add(10, 20), 30)

        self.assertEqual(add(-1, 2), 1)

    def test_greet_use(self):
        self.assertEqual(greet_use("linda"), "hello linda")


if __name__ == "__main__":

    unittest.main()
